<?php
  $country = ["zh", "en", "yue", "jp", "kor", "fra", "spa", "th", "ara", "ru", "pt", "de", "it", "el", "nl", "pl", "bul", "est", "dan", "fin", "cs", "rom", "slo", "swe", "hu", "cht", "vie"];
  $hostname = $_SERVER['HTTP_HOST'];
  $subdomain = explode('.', $hostname)[0];
  $language = 'en';
  if (in_array($subdomain, $country)) {
      $language = $subdomain;
  }
  ?>
  <!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>{usu_fanyi($meta_title, $language)}</title>
    <meta content="{usu_fanyi($meta_keywords, $language)}" name="keywords" />
    <meta content="{usu_fanyi($meta_description, $language)}" name="description" />
    <script type="text/javascript">
        var is_mobile_cms = '{IS_MOBILE}';
        var web_dir = '{WEB_DIR}';
    </script>
    <script src="{LANG_PATH}lang.js" type="text/javascript"></script>
    <script src="{THEME_PATH}assets/global/plugins/jquery.min.js" type="text/javascript"></script>
    <script src="{THEME_PATH}assets/js/cms.js" type="text/javascript"></script>
    {SITE_TONGJI}
    <link href="{SITE_LOGO}" rel="shortcut icon" type="image/x-icon">
    <meta name="viewport" content="width=1280">
    <link href="{HOME_THEME_PATH}css/aos.css" rel="stylesheet">
    <link href="{HOME_THEME_PATH}css/style.css" rel="stylesheet">
    <link href="{HOME_THEME_PATH}css/common.css" rel="stylesheet">
    <script src="{HOME_THEME_PATH}js/jquery.js"></script>
    <script src="{HOME_THEME_PATH}js/jquery.superslide.2.1.1.js"></script>
    <script src="{HOME_THEME_PATH}js/common.js"></script>
    <meta http-equiv="mobile-agent" content="format=xhtml;url=/17571/m">
    <script type="text/javascript">
        if (window.location.toString().indexOf('pref=padindex') != -1) {} else {
            if (/applewebkit.*mobile/i.test(navigator.userAgent.toLowerCase()) || (
                    /midp|symbianos|nokia|samsung|lg|nec|tcl|alcatel|bird|dbtel|dopod|philips|haier|lenovo|mot-|nokia|sonyericsson|sie-|amoi|zte/
                    .test(navigator.userAgent.toLowerCase()))) {
                try {
                    if (/android|windows phone|webos|iphone|ipod|blackberry/i.test(navigator.userAgent.toLowerCase())) {
                        window.location.href = "/17571/m";
                    } else if (/ipad/i.test(navigator.userAgent.toLowerCase())) {} else {}
                } catch (e) {}
            }
        }
    </script>
</head>

<body>
    <!--页头开始-->
    <div class="header_main por" id="header_main" aos="fade-down" aos-easing="ease" aos-duration="700" aos-delay="100">
        <div class="header w1200 por clearfix">
            <a class="logo" href="/" title="{SITE_NAME}"> 
                <img src="{SITE_LOGO}" alt="{SITE_NAME}">
            </a>
            <!--导航开始-->
            <div id="nav_main">
                <ul class="nav" id="nav">
                    <li id="cur"{if $indexc} class="hover"{/if}><a class="aLink" href="/">Home</a></li>
                    {category module=share pid=0 return=t}
                    <li class='{if IS_SHARE && $catid && in_array($catid, $t.catids)}hover {/if}'> 
                        <a class="aLink" href="{dr_url_rel($t.url, SITE_URL)}">{usu_fanyi($t.name, $language)}</a>
                        {if $t.child}
                        <ul class="subnav">
                            {category module=share pid=$t.id return=t2}
                            <li class="nav1"><a href="{dr_url_rel($t2.url, SITE_URL)}">{usu_fanyi($t2.name, $language)}</a></li>
                            {/category}
                        </ul>
                        {/if}
                    </li>
                    {/category}
                    <li class=''> 
                        <?php $duoyuyan=dr_site_value('duoyuyan');?>
                        <a class="aLink" href="javascript:;">{usu_fanyi('Language', $language)}</a>
                        <ul class="subnav">
                            <?php if ($duoyuyan) { $key=0; foreach ($duoyuyan as $v) { ?>
                            <li class="nav1"><a href="{$v[2]}">{$v[1]}</a></li>
                            <?php  $key++; } } ?>
                        </ul>
                    </li>
                </ul>
            </div>
            <!--导航结束-->
            <div class="tel_main">
                <?php $mysite=dr_site_value('tblxfs');?>
                <?php if ($mysite) { $key=0; foreach ($mysite as $v) { ?>
                <p class="zx">{usu_fanyi($v[1], $language)}</p>
                <p class="tel">{$v[2]}</p>
                <?php  $key++; } } ?>
            </div>
            <!--搜索栏开始-->
            <div class="header_search poa">
                <div class="search_btn icon"></div>
                <div class="search_main">
                    <div class="search_box clearfix">
                        <form method="get" action="/17571/index.php?m=home&c=Search&a=lists"
                            onsubmit="return searchForm();">
                            <input type="submit" value="" class="sbtn fr icon">
                            <input class="stxt fr" type="text" name="keywords" id="keywords" value="{usu_fanyi('Keywords', $language)}"
                                onfocus="if(this.value==defaultValue)this.value=''">
                            <input type="hidden" name="m" value="home"><input type="hidden" name="c"
                                value="Search"><input type="hidden" name="a" value="lists"><input type="hidden"
                                name="lang" value="cn"> </form>
                    </div>
                </div>
            </div>
            <!--搜索栏结束-->
        </div>
    </div>
    <!--页头结束-->
    <!--幻灯片大图开始-->
    <div id="banner_main">
        <div id="banner" class="banner">
            <ul class="list clearfix">
                <?php $hdtp=dr_site_value('hdtp');?>
                <?php if ($hdtp) { $key=0; foreach ($hdtp as $v) { ?>
                <li><a href="{$v[3]}"><img src="{dr_get_file($v[1])}" alt=""></a></li>
                <?php  $key++; } } ?>
            </ul>
            <div class="tip"></div>
            <a href="javascript:;" id="btn_prev" class="icon"></a> 
            <a href="javascript:;" id="btn_next" class="icon"></a>
        </div>
    </div>
    <!--幻灯片大图结束-->
    <div class="index">
        <!--关于我们开始-->
        <?php $mysite=dr_site_value('sy_gywm');?>
        <?php $sy_gywm_nr=dr_site_value('sy_gywm_nr');?>
        <?php if ($mysite) { $key=0; foreach ($mysite as $v) { ?>
        <div class="aboutus" style="background: url('{dr_get_file($v[7])}');background-size: cover;">
            <div class="about w1200 clearfix">
                <div class="top_tit" aos="fade-down" aos-easing="ease" aos-duration="700" aos-delay="100">
                    <p class="enName">{usu_fanyi($v[1], $language)}</p>
                    <h3 class="cName">{usu_fanyi($v[2], $language)}</h3>
                </div>
                <div class="aboutCont" aos="fade-down" aos-easing="ease" aos-duration="700" aos-delay="100">
                    <div class="img" aos="fade-right" aos-easing="ease" aos-duration="700" aos-delay="100"> <img
                            src="{dr_get_file($v[6])}" alt="{usu_fanyi($v[1], $language)}"></div>
                    <div class="aboutTxt" aos="fade-left" aos-easing="ease" aos-duration="700" aos-delay="100">
                        <h3 class="aTit">{usu_fanyi($v[3], $language)}</h3>
                        <p class="cont">{usu_fanyi($sy_gywm_nr, $language)}</p>
                        <a class="viewMore" href="{$v[5]}" title="{usu_fanyi($v[4], $language)}>>">{usu_fanyi($v[4], $language)}</a>
                    </div>
                </div>
            </div>
        </div>
        <?php  $key++; } } ?>

        <!--关于我们结束-->
        <!--产品中心开始-->
        <?php $mysite=dr_site_value('sy_rmcp');?>
        <?php if ($mysite) { $key=0; foreach ($mysite as $v) { ?>
        <div class="newArr" style="background: url('{dr_get_file($v[3])}');background-size: cover;">
            <div class="newPro w1200 clearfix" >
                <div class="top_tit" aos="fade-down" aos-easing="ease" aos-duration="700" aos-delay="100">
                    <p class="enName">{usu_fanyi($v[1], $language)}</p>
                    <h3 class="cName">{usu_fanyi($v[2], $language)}</h3>
                </div>
                <?php  $key++; } } ?>
                <div class="product" id="product">
                    <div class="hd">
                        <ul class="iconList">
                        </ul>
                    </div>
                    <div class="bd clearfix">
                        <ul class="list">
                            {module module=news catid=1 flag=1}
                            <li class="item {if $key+1== 0}pro2{/if}" aos="fade-left" aos-easing="ease" aos-duration="700" aos-delay="100"> 
                                <a href="{dr_url_rel($t.url, SITE_URL)}" title="{usu_fanyi($t['title'], $language)}">
                                    <img class="img" src="{dr_get_file($t['thumb'])}" alt="{usu_fanyi($t['title'], $language)}">
                                    <div class="triangle"></div>
                                    <div class="txt">
                                        <h3 class="tit">{usu_fanyi($t['title'], $language)}</h3>
                                        <p class="cont">{usu_fanyi(dr_strcut($t['description'],100,'...'), $language)}</p>
                                        <p class="more">{usu_fanyi('MORE', $language)}</p>
                                    </div>
                                </a> 
                            </li>
                            {/module}
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <!--产品中心结束-->
        <!--餐厅展示开始-->
        <?php $mysite=dr_site_value('shouye_anli');?>
        <?php if ($mysite) { $key=0; foreach ($mysite as $v) { ?>
        <div class="restShow" style="background: url('{dr_get_file($v[3])}');background-size: cover;">
            <div class="showMain w1200 clearfix">
                <div class="top_tit" aos="fade-down" aos-easing="ease" aos-duration="700" aos-delay="100">
                    <p class="enName">{usu_fanyi($v[1], $language)}</p>
                    <h3 class="cName">{usu_fanyi($v[2], $language)}</h3>
                </div>
                <?php  $key++; } } ?>
                <div class="show clearfix">
                    <!--推荐内容开始-->
                    <div class="left" aos="fade-right" aos-easing="ease" aos-duration="700" aos-delay="100">
                        <div class="rest" id="inews">
                            <div class="bd clearfix">
                                <ul class="list">
                                    {module module=news catid=10 num=0,3}
                                    <li class="item clearfix">
                                        <a href="{dr_url_rel($t.url, SITE_URL)}" title="{usu_fanyi($t['title'], $language)}">
                                            <img src="{dr_get_file($t['thumb'])}" alt="{usu_fanyi($t['title'], $language)}">
                                            <div class="txt">
                                                <h3 class="tit">{usu_fanyi($t['title'], $language)}</h3>
                                            </div>
                                        </a>
                                    </li>
                                    {/module}
                                </ul>
                            </div>
                            <div class="hd">
                                <ul class="iconList">
                                </ul>
                            </div>
                        </div>
                    </div>
                    <!--推荐内容结束-->
                    <div class="right" aos="fade-left" aos-easing="ease" aos-duration="700" aos-delay="100">
                        <div class="showList">
                            <ul class="list">
                                {module module=news catid=10 num=3,4}
                                <li class="item clearfix">
                                    <a href="{dr_url_rel($t.url, SITE_URL)}" title="{usu_fanyi($t['title'], $language)}">
                                        <img src="{dr_get_file($t['thumb'])}" alt="{usu_fanyi($t['title'], $language)}">
                                        <div class="txt">
                                            <h3 class="tit">{usu_fanyi($t['title'], $language)}</h3>
                                        </div>
                                    </a>
                                </li>
                                {/module}
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!--餐厅展示结束-->
        <!--新闻和店铺开始-->
        <?php $mysite=dr_site_value('sy_xwzx');?>
        <?php if ($mysite) { $key=0; foreach ($mysite as $v) { ?>
        <div class="newsShop" style="background: url('{dr_get_file($v[1])}');background-size: cover;">
            <div class="news w1200 clearfix">
                <div class="top_tit" aos="fade-down" aos-easing="ease" aos-duration="700" aos-delay="100">
                    <p class="enName">{usu_fanyi($v[2], $language)}</p>
                    <h3 class="cName">{usu_fanyi($v[3], $language)}</h3>
                </div>
                <?php  $key++; } } ?>
                <div class="newsPart clearfix">
                    <!--我们的使命开始-->
                    <div class="left fl" aos="fade-right" aos-easing="ease" aos-duration="700" aos-delay="100"> <a>
                            <div class="img"> <img src="{HOME_THEME_PATH}picture/shiming.jpg" alt="蛋糕面包食品网站模板"></div>
                        </a></div>
                    <!--我们的使命结束-->
                    <div class="right fl" aos="fade-left" aos-easing="ease" aos-duration="700" aos-delay="100">
                        <div class="part1">
                            <!--新闻资讯开始-->
                            <div class="newsM" id="news">
                                <div class="bd">
                                    <ul class="list">
                                        {module module=news catid=10 num=3,4}
                                        <li class="item clearfix">
                                            <a href="{dr_url_rel($t.url, SITE_URL)}" title="{usu_fanyi($t['title'], $language)}">
                                                <div class="time">
                                                    <h3 class="day">{dr_date($t['updatetime'],'d')}</h3>
                                                    <p class="year">{dr_date($t['updatetime'],'Y-m')}</p>
                                                </div>
                                                <div class="txt">
                                                    <h3 class="tit">{usu_fanyi($t['title'], $language)}</h3>
                                                    <p class="cont">{usu_fanyi($t['description'], $language)}</p>
                                                </div>
                                            </a>
                                        </li>
                                        {/module}
                                    </ul>
                                </div>
                                <div class="hd">
                                    <ul class="iconList">
                                    </ul>
                                </div>
                            </div>
                            <!--新闻资讯结束-->
                            <!--公司分店开始-->
                            <!--公司分店结束-->
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--新闻和店铺结束-->
    </div>
    <!--页尾开始-->
    <div class="bottom_main">
        <div class="footer w1200 clearfix">
            <!--友情链接开始-->
            <div class="links"> <span>友情链接：</span> <a href="http://www.baidu.com/" target="_blank">百度</a> <a
                    href="http://www.youku.com/" target="_blank">优酷</a> <a href="https://weibo.com/"
                    target="_blank">微博</a> <a href="https://www.sina.com.cn/" target="_blank">新浪</a> <a
                    href="http://www.qq.com/" target="_blank">腾讯</a> <a href="http://www.taobao.com/"
                    target="_blank">淘宝</a> <a href="http://www.jd.com/" target="_blank">京东</a> </div>
            <!--友情链接结束-->
            <!--底部导航开始-->
            <div class="bottom_nav fl clearfix">
                <dl class="left">
                    <dt><a href="guanyuwomen.html" title="关于我们">
                            <h3>关于我们</h3>
                        </a></dt>
                    <dd><a href="zhaopin.html" title="人才招聘">人才招聘</a></dd>
                    <dd><a href="qiyewenhua.html" title="企业文化">企业文化</a></dd>
                    <dd><a href="gongsirongyu.html" title="公司荣誉">公司荣誉</a></dd>
                </dl>
                <dl class="left">
                    <dt><a href="chanpinzhongxin.html" title="产品中心">
                            <h3>产品中心</h3>
                        </a></dt>
                    <dd><a href="cp1.html" title="手工土司">手工土司</a></dd>
                    <dd><a href="cp2.html" title="西点">西点</a></dd>
                    <dd><a href="cp3.html" title="饮品">饮品</a></dd>
                    <dd><a href="cp4.html" title="营养早餐">营养早餐</a></dd>
                    <dd><a href="cp5.html" title="软欧面包">软欧面包</a></dd>
                    <dd><a href="cp6.html" title="法式面包">法式面包</a></dd>
                </dl>
                <dl class="left">
                    <dt><a href="xinwendongtai.html" title="新闻动态">
                            <h3>新闻动态</h3>
                        </a></dt>
                    <dd><a href="xingyexinwen.html" title="行业新闻">行业新闻</a></dd>
                    <dd><a href="qiyexinwen.html" title="企业新闻">企业新闻</a></dd>
                </dl>
            </div>
            <!--底部导航结束-->
            <!--联系方式开始-->
            <div class="bottom_ewm fr">
                <div class="ewm fl"> <img src="{HOME_THEME_PATH}picture/1-2201131K451A2.png" alt="蛋糕面包食品网站模板"></div>
                <div class="tit fl">
                    <ul>
                        <li><img src="{HOME_THEME_PATH}picture/tel.png" alt="蛋糕面包食品网站模板" title="蛋糕面包食品网站模板">
                            <p>24小时咨询热线<span>+86 0000 88888</span></p>
                        </li>
                        <li><img src="{HOME_THEME_PATH}picture/phone.png" alt="蛋糕面包食品网站模板" title="蛋糕面包食品网站模板">
                            <p>移动电话<span>13988888888</span></p>
                        </li>
                    </ul>
                </div>
            </div>
            <!--联系方式结束-->
        </div>
    </div>
    <!--页尾结束-->
    <!--版权开始-->
    <div class="bottom_copy">
        <div class="w1200 clearfix">
            <p class="copyright fl">Copyright © 2002-2023 某某面包食品地有限公司 版权所有　地址：广东省广州市番禺经济开发区　备案号：<a
                    href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">ICP备********号</a></p>
            <p class="fr"><a href="17571/sitemap.xml">网站地图</a></p>
        </div>
    </div>
    <!--版权结束-->
    <!--浮动客服开始-->
    <div class="toolbar_wrap" id="toolbar">
        <div class="toolbar">
            <div class="toolbar_tabs">
                <div class="toolbar_tab tab_follow"> <a
                        href="http://wpa.qq.com/msgrd?v=3&uin=88888888&site=qq&menu=yes"><i><img
                                src="{HOME_THEME_PATH}picture/icon1.png" alt="咨询" title="咨询 "></i><em
                            class="tab_text">QQ：88888888</em></a></div>
                <div class="toolbar_tab tab_history"><i><img src="{HOME_THEME_PATH}picture/icon2.png"></i><em class="tab_text">+86
                        0000 88888</em></div>
                <div class="toolbar_tab tab_kf"><a title="微信二维码"><i><img src="{HOME_THEME_PATH}picture/icon3.png"></i><em
                            class="tab_text"> <img src="{HOME_THEME_PATH}picture/1-2201131K451A2.png"></em></a></div>
                <div class="toolbar_tab tab_db"><a title="返回顶部" id="test"><i><img src="{HOME_THEME_PATH}picture/icon4.png"></i><em
                            class="tab_text">返回顶部</em></a></div>
            </div>
        </div>
    </div>
    <!--浮动客服结束-->
    <script src="{HOME_THEME_PATH}js/aos.js"></script>
    <script src="{HOME_THEME_PATH}js/app.js"></script>
    <script type="text/javascript">
        AOS.init({
            easing: 'ease-out-back',
            duration: 1000
        });
    </script>
    <!-- 应用插件标签 start -->

    <!-- 应用插件标签 end -->
</body>

</html>